package com.design.装饰器模式;

/**
 * @author: sun.hongliang
 * @create: 2019/08/15 12:13
 */
public abstract class ShapeDecorator implements Shap {
    protected Shap decorator;

    public ShapeDecorator(Shap decorator) {
        this.decorator = decorator;
    }

    @Override
    public void draw() {
        decorator.draw();
    }
}
